<div class="d4-nav-dec">
 	<img class="d4-nav-dec1" src="catalog/view/theme/default/images/d4-nav-bg-dec1.png" height="46" width="91"/>
	<img class="d4-nav-dec2" src="catalog/view/theme/default/images/d4-nav-bg-dec2.png" height="70" width="95"/>
	<img class="d4-nav-dec3" src="catalog/view/theme/default/images/d4-nav-bg-dec3.png" height="88" width="20"/>
	<img class="d4-nav-dec4" src="catalog/view/theme/default/images/d4-nav-bg-dec4.png" height="39" width="107"/>
	<div class="d4-nav">
		<ul id="nav">
			  <?php foreach ($categories as $category) { ?>
			  	<li class="level0" onmouseover="toggleMenu(this,1)" onmouseout="toggleMenu(this,0)">
			  		<a href="<?php echo $category['href']; ?>">
			 			<span><?php echo $category['name']; ?></span>
					</a>
					<?php if ($category['children']) { ?>
						<ul class="level0">
							<?php foreach ($category['children'] as $child) { ?>
								<li class="level1">
									<a href="<?php echo $child['href']; ?>">
										<span> <?php echo $child['name']; ?></span>
									</a>
								</li>
							<?php }?>
						</ul>			   
				 	<?php } ?>
			  <?php }?>
		</ul>
		<div class="clear"></div>
	</div>
	<div class="d4-nav-bottom"></div>
</div>
